package com.woniuxy.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.mapper.PayMapper;
import com.woniuxy.pojo.Paygjf;
import com.woniuxy.service.PayService;

@Service
@Transactional
public class PayServiceImp implements PayService{
	@Resource
	private PayMapper paymapper;

	@Override
	public boolean updateOnumber(Paygjf p) {
		int re=paymapper.updateOrderState(p);
		if(re>0){
			return true;
		}
		return false;
	}

	
	
}
